PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Drawing / Explosions / suksma - my face is black pus - video game cluster bombs form edible.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.002 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=3 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=0.625 |
| 27 | fWaveSmoothing=0.900 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.880 |
| 30 | fModWaveAlphaEnd=1.980 |
| 31 | fWarpAnimSpeed=0.010 |
| 32 | fWarpScale=0.010 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=1.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00500 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00180 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.800 |
| 52 | ob_b=0.700 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.005 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.300 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=0.000 |
| 60 | nMotionVectorsY=0.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.000 |
| 64 | mv_r=0.390 |
| 65 | mv_g=0.440 |
| 66 | mv_b=0.900 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=256 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=100.00000 |
| 83 | wavecode_0_smoothing=0.90000 |
| 84 | wavecode_0_r=0.000 |
| 85 | wavecode_0_g=0.700 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_frame1=advance=advance+ 0.012; |
| 89 | wave_0_per_frame2=advance=if( above(advance,2) , 0, advance); |
| 90 | wave_0_per_frame3= |
| 91 | wave_0_per_frame4=t1=advance |
| 92 | wave_0_per_frame5= |
| 93 | wave_0_per_point1= |
| 94 | wave_0_per_point2=s=sample*6.28; |
| 95 | wave_0_per_point3= |
| 96 | wave_0_per_point4=//plot random x position via function of sample pos; |
| 97 | wave_0_per_point5=xp=sin(s)+sin(s*0.34)+sin(s*24.3)+sin(s*13.8); |
| 98 | wave_0_per_point6=xp=xp*0.20; |
| 99 | wave_0_per_point7= |
| 100 | wave_0_per_point8=//plot random y position via function of sample pos; |
| 101 | wave_0_per_point9=yp=cos(s)+sin(s*0.24)+cos(s*17.4)+sin(s*37.7); |
| 102 | wave_0_per_point10=yp=yp*0.20; |
| 103 | wave_0_per_point11= |
| 104 | wave_0_per_point12=//plot random z position via function of sample pos; |
| 105 | wave_0_per_point13=zp=cos(s)+cos(s*5.24)+cos(s*47.4)+cos(s*27.7); |
| 106 | wave_0_per_point14=zp=zp*0.25; |
| 107 | wave_0_per_point15= |
| 108 | wave_0_per_point16=//pull stars toward screen |
| 109 | wave_0_per_point17=zp=zp + 1 - t1; |
| 110 | wave_0_per_point18= |
| 111 | wave_0_per_point19=//correct when below 0 |
| 112 | wave_0_per_point20=zp=if( below(zp,0) , zp+2 , zp ); |
| 113 | wave_0_per_point21= |
| 114 | wave_0_per_point22=//darken far stars |
| 115 | wave_0_per_point23=a=(1 - zp*0.5); |
| 116 | wave_0_per_point24= |
| 117 | wave_0_per_point25=zp=zp*0.7; |
| 118 | wave_0_per_point26= |
| 119 | wave_0_per_point27=x_screen=xp/zp + 0.5; |
| 120 | wave_0_per_point28=y_screen=yp/zp + 0.5; |
| 121 | wave_0_per_point29= |
| 122 | wave_0_per_point30=x=x_screen; |
| 123 | wave_0_per_point31=y=y_screen; |
| 124 | wave_0_per_point32= |
| 125 | wave_0_per_point33=r=1;g=0.9;b=1.0 |
| 126 | wavecode_1_enabled=1 |
| 127 | wavecode_1_samples=42 |
| 128 | wavecode_1_sep=0 |
| 129 | wavecode_1_bSpectrum=0 |
| 130 | wavecode_1_bUseDots=1 |
| 131 | wavecode_1_bDrawThick=0 |
| 132 | wavecode_1_bAdditive=1 |
| 133 | wavecode_1_scaling=81.95444 |
| 134 | wavecode_1_smoothing=1.00000 |
| 135 | wavecode_1_r=1.000 |
| 136 | wavecode_1_g=1.000 |
| 137 | wavecode_1_b=1.000 |
| 138 | wavecode_1_a=1.000 |
| 139 | wave_1_per_frame1=advance=advance+ 0.012; |
| 140 | wave_1_per_frame2=advance=if( above(advance,2) , 0, advance); |
| 141 | wave_1_per_frame3= |
| 142 | wave_1_per_frame4=t1=advance |
| 143 | wave_1_per_point1= |
| 144 | wave_1_per_point2=s=sample*6.28; |
| 145 | wave_1_per_point3= |
| 146 | wave_1_per_point4=//plot random x position via function of sample pos; |
| 147 | wave_1_per_point5=xp=sin(s)+sin(s*0.34)+cos(s*24.3)+sin(s*13.8); |
| 148 | wave_1_per_point6=xp=xp*0.20; |
| 149 | wave_1_per_point7= |
| 150 | wave_1_per_point8=//plot random y position via function of sample pos; |
| 151 | wave_1_per_point9=yp=cos(s)+sin(s*1.24)+cos(s*17.4)+sin(s*37.7); |
| 152 | wave_1_per_point10=yp=yp*0.20; |
| 153 | wave_1_per_point11= |
| 154 | wave_1_per_point12=//plot random z position via function of sample pos; |
| 155 | wave_1_per_point13=zp=cos(s)+cos(s*3.24)+cos(s*47.4)+cos(s*27.7); |
| 156 | wave_1_per_point14=zp=zp*0.25; |
| 157 | wave_1_per_point15= |
| 158 | wave_1_per_point16=//pull stars toward screen |
| 159 | wave_1_per_point17=zp=zp + 1 - t1; |
| 160 | wave_1_per_point18= |
| 161 | wave_1_per_point19=//correct when below 0 |
| 162 | wave_1_per_point20=zp=if( below(zp,0) , zp+2 , zp ); |
| 163 | wave_1_per_point21= |
| 164 | wave_1_per_point22=//darken far stars |
| 165 | wave_1_per_point23=a=(1 - zp*0.5); |
| 166 | wave_1_per_point24= |
| 167 | wave_1_per_point25=zp=zp*0.7; |
| 168 | wave_1_per_point26= |
| 169 | wave_1_per_point27=x_screen=xp/zp + 0.5; |
| 170 | wave_1_per_point28=y_screen=yp/zp + 0.5; |
| 171 | wave_1_per_point29= |
| 172 | wave_1_per_point30=x=x_screen; |
| 173 | wave_1_per_point31=y=y_screen; |
| 174 | wave_1_per_point32= |
| 175 | wave_1_per_point33=r=1;g=0.9;b=1.0 |
| 176 | wavecode_2_enabled=1 |
| 177 | wavecode_2_samples=42 |
| 178 | wavecode_2_sep=0 |
| 179 | wavecode_2_bSpectrum=0 |
| 180 | wavecode_2_bUseDots=1 |
| 181 | wavecode_2_bDrawThick=1 |
| 182 | wavecode_2_bAdditive=1 |
| 183 | wavecode_2_scaling=1.00000 |
| 184 | wavecode_2_smoothing=0.50000 |
| 185 | wavecode_2_r=1.000 |
| 186 | wavecode_2_g=1.000 |
| 187 | wavecode_2_b=1.000 |
| 188 | wavecode_2_a=0.360 |
| 189 | wave_2_per_point1=x=int(rand(1000))*0.001; |
| 190 | wave_2_per_point2=y=int(rand(1000))*0.001; |
| 191 | wave_2_per_point3=r=0.9;g=1;b=1 |
| 192 | wavecode_3_enabled=1 |
| 193 | wavecode_3_samples=192 |
| 194 | wavecode_3_sep=0 |
| 195 | wavecode_3_bSpectrum=0 |
| 196 | wavecode_3_bUseDots=1 |
| 197 | wavecode_3_bDrawThick=0 |
| 198 | wavecode_3_bAdditive=1 |
| 199 | wavecode_3_scaling=1.00000 |
| 200 | wavecode_3_smoothing=0.50000 |
| 201 | wavecode_3_r=1.000 |
| 202 | wavecode_3_g=1.000 |
| 203 | wavecode_3_b=1.000 |
| 204 | wavecode_3_a=0.320 |
| 205 | wave_3_per_point1=x=int(rand(1000))*0.001; |
| 206 | wave_3_per_point2=y=int(rand(1000))*0.001; |
| 207 | wave_3_per_point3=r=1.0;g=1;b=0.9 |
| 208 | shapecode_0_enabled=0 |
| 209 | shapecode_0_sides=16 |
| 210 | shapecode_0_additive=0 |
| 211 | shapecode_0_thickOutline=1 |
| 212 | shapecode_0_textured=1 |
| 213 | shapecode_0_num_inst=1 |
| 214 | shapecode_0_x=0.500 |
| 215 | shapecode_0_y=0.500 |
| 216 | shapecode_0_rad=0.97235 |
| 217 | shapecode_0_ang=0.18840 |
| 218 | shapecode_0_tex_ang=0.62832 |
| 219 | shapecode_0_tex_zoom=0.77829 |
| 220 | shapecode_0_r=1.000 |
| 221 | shapecode_0_g=1.000 |
| 222 | shapecode_0_b=1.000 |
| 223 | shapecode_0_a=0.900 |
| 224 | shapecode_0_r2=1.000 |
| 225 | shapecode_0_g2=1.000 |
| 226 | shapecode_0_b2=1.000 |
| 227 | shapecode_0_a2=0.500 |
| 228 | shapecode_0_border_r=0.590 |
| 229 | shapecode_0_border_g=0.810 |
| 230 | shapecode_0_border_b=0.690 |
| 231 | shapecode_0_border_a=0.000 |
| 232 | shape_0_per_frame1=//DMT=1-below((bass_att+mid_att+treb_att)/3,0.7); |
| 233 | shape_0_per_frame2=//a=DMT; |
| 234 | shape_0_per_frame3=//a2=.5*DMT; |
| 235 | shape_0_per_frame4=//border_a=0.4*DMT; |
| 236 | shape_0_per_frame5=//atime=atime+(above( sin(time),0 )*0.02 ); |
| 237 | shape_0_per_frame6=//ang=0.188+((sin(atime/5)*0.5+0.5)*2.39); |
| 238 | shape_0_per_frame7=//x=(sin(atime*0.3)*0.07)+0.5; |
| 239 | shape_0_per_frame8=//y=(cos(atime*0.1)*0.07)+0.5; |
| 240 | shape_0_per_frame9=//rad=((bass+mid+treb)/6)*1.4+0.2; |
| 241 | shape_0_per_frame10=//sides=bass*16 |
| 242 | shapecode_1_enabled=1 |
| 243 | shapecode_1_sides=5 |
| 244 | shapecode_1_additive=0 |
| 245 | shapecode_1_thickOutline=1 |
| 246 | shapecode_1_textured=0 |
| 247 | shapecode_1_num_inst=1 |
| 248 | shapecode_1_x=0.500 |
| 249 | shapecode_1_y=0.500 |
| 250 | shapecode_1_rad=0.41490 |
| 251 | shapecode_1_ang=0.00000 |
| 252 | shapecode_1_tex_ang=0.25133 |
| 253 | shapecode_1_tex_zoom=1.13600 |
| 254 | shapecode_1_r=0.360 |
| 255 | shapecode_1_g=0.000 |
| 256 | shapecode_1_b=0.000 |
| 257 | shapecode_1_a=1.000 |
| 258 | shapecode_1_r2=0.000 |
| 259 | shapecode_1_g2=0.000 |
| 260 | shapecode_1_b2=0.200 |
| 261 | shapecode_1_a2=0.000 |
| 262 | shapecode_1_border_r=0.000 |
| 263 | shapecode_1_border_g=0.000 |
| 264 | shapecode_1_border_b=0.000 |
| 265 | shapecode_1_border_a=0.000 |
| 266 | shape_1_per_frame1= |
| 267 | shape_1_per_frame2=adv=adv+(bass*bass)/15; |
| 268 | shape_1_per_frame3= |
| 269 | shape_1_per_frame4=r=int(rand(10))*0.1*0.5+0.5; |
| 270 | shape_1_per_frame5=g=r; |
| 271 | shape_1_per_frame6=b=r; |
| 272 | shape_1_per_frame7= |
| 273 | shape_1_per_frame8=x=int(rand(100))*0.01*0.5 + 0.25; |
| 274 | shape_1_per_frame9=y=int(rand(100))*0.01*0.5 + 0.25; |
| 275 | shape_1_per_frame10=rad=int(rand(100))*0.01*0.4+0.1; |
| 276 | shape_1_per_frame11=ang=rad |
| 277 | shapecode_2_enabled=0 |
| 278 | shapecode_2_sides=24 |
| 279 | shapecode_2_additive=0 |
| 280 | shapecode_2_thickOutline=0 |
| 281 | shapecode_2_textured=1 |
| 282 | shapecode_2_num_inst=1 |
| 283 | shapecode_2_x=0.200 |
| 284 | shapecode_2_y=0.800 |
| 285 | shapecode_2_rad=0.59958 |
| 286 | shapecode_2_ang=0.00000 |
| 287 | shapecode_2_tex_ang=1.25664 |
| 288 | shapecode_2_tex_zoom=0.49831 |
| 289 | shapecode_2_r=1.000 |
| 290 | shapecode_2_g=1.000 |
| 291 | shapecode_2_b=1.000 |
| 292 | shapecode_2_a=1.000 |
| 293 | shapecode_2_r2=1.000 |
| 294 | shapecode_2_g2=1.000 |
| 295 | shapecode_2_b2=1.000 |
| 296 | shapecode_2_a2=1.000 |
| 297 | shapecode_2_border_r=1.000 |
| 298 | shapecode_2_border_g=1.000 |
| 299 | shapecode_2_border_b=1.000 |
| 300 | shapecode_2_border_a=0.000 |
| 301 | shapecode_3_enabled=0 |
| 302 | shapecode_3_sides=4 |
| 303 | shapecode_3_additive=0 |
| 304 | shapecode_3_thickOutline=0 |
| 305 | shapecode_3_textured=1 |
| 306 | shapecode_3_num_inst=1 |
| 307 | shapecode_3_x=0.860 |
| 308 | shapecode_3_y=0.200 |
| 309 | shapecode_3_rad=0.80814 |
| 310 | shapecode_3_ang=0.00000 |
| 311 | shapecode_3_tex_ang=0.00000 |
| 312 | shapecode_3_tex_zoom=0.45112 |
| 313 | shapecode_3_r=1.000 |
| 314 | shapecode_3_g=1.000 |
| 315 | shapecode_3_b=1.000 |
| 316 | shapecode_3_a=1.000 |
| 317 | shapecode_3_r2=1.000 |
| 318 | shapecode_3_g2=1.000 |
| 319 | shapecode_3_b2=0.900 |
| 320 | shapecode_3_a2=1.000 |
| 321 | shapecode_3_border_r=1.000 |
| 322 | shapecode_3_border_g=1.000 |
| 323 | shapecode_3_border_b=1.000 |
| 324 | shapecode_3_border_a=0.000 |
| 325 | per_frame_init_1=mv_x=64;mv_y=48; |
| 326 | per_frame_init_2=nut=0; |
| 327 | per_frame_init_3=stp=0;stq=0; |
| 328 | per_frame_init_4=rtp=0;rtq=0; |
| 329 | per_frame_init_5=wvr=0; |
| 330 | per_frame_init_6=decay=0; |
| 331 | per_frame_init_7=dcsp=0 |
| 332 | per_frame_init_8= |
| 333 | per_frame_1=//martin no religion / my omniversal absence for changing the background light |
| 334 | per_frame_2=vb = vb*0.95 + (1-vb)*pow(abs(bass-bass_att),2)*0.02; |
| 335 | per_frame_3=vvb = vvb*0.95 + (1-vvb)*vb*0.01; |
| 336 | per_frame_4=vm = vm*0.95 + (1-vm)*pow(abs(mid-mid_att),2)*0.02; |
| 337 | per_frame_5=vvm = vvm*0.95 + (1-vvm)*vm*0.01; |
| 338 | per_frame_6=vt = vt*0.95 + (1-vt)*pow(abs(treb-treb_att),2)*0.02; |
| 339 | per_frame_7=vvt = vvt*0.95 + (1-vvt)*vt*0.01; |
| 340 | per_frame_8=vvb = min(1,max(0,vvb)); |
| 341 | per_frame_9=vvm = min(1,max(0,vvm)); |
| 342 | per_frame_10=vvt = min(1,max(0,vvt)); |
| 343 | per_frame_11=runbass=runbass+vvb; |
| 344 | per_frame_12=runmids=runmids+vvm ; |
| 345 | per_frame_13=runtreb=runtreb+vvt; |
| 346 | per_frame_14=pi23=4*asin(-1)*.33333333333333; |
| 347 | per_frame_15=atime=(runtreb+runmids+runbass)*1.85; |
| 348 | per_frame_16=q8= (sin(atime-0*pi23)+1)*.4; |
| 349 | per_frame_17=q9= (sin(atime-1*pi23)+1)*.4; |
| 350 | per_frame_18=q10=(sin(atime-2*pi23)+1)*.4; |
| 351 | per_frame_19= |
| 352 | per_frame_20=vb = vb*0.95 + (1-vb)*pow(abs(bass-bass_att),2)*0.02; |
| 353 | per_frame_21=vvb = vvb*0.95 + (1-vvb)*vb*0.01; |
| 354 | per_frame_22=vm = vm*0.95 + (1-vm)*pow(abs(mid-mid_att),2)*0.02; |
| 355 | per_frame_23=vvm = vvm*0.95 + (1-vvm)*vm*0.01; |
| 356 | per_frame_24=vt = vt*0.95 + (1-vt)*pow(abs(treb-treb_att),2)*0.02; |
| 357 | per_frame_25=vvt = vvt*0.95 + (1-vvt)*vt*0.01; |
| 358 | per_frame_26=vvb = min(1,max(0,vvb)); |
| 359 | per_frame_27=vvm = min(1,max(0,vvm)); |
| 360 | per_frame_28=vvt = min(1,max(0,vvt)); |
| 361 | per_frame_29=q1 = (vvt+vvm+vvb)*10; |
| 362 | per_frame_30=q2 = (vvt+vvm+vvb)*10; |
| 363 | per_frame_31=q3 = (vvt+vvm+vvb)*150; |
| 364 | per_frame_32=q4 =(vvt+vvm+vvb)*10; |
| 365 | per_frame_33=q5 =(vvt+vvm+vvb)*10; |
| 366 | per_frame_34=q6 =(vvt+vvm+vvb)*10; |
| 367 | per_frame_35=q4 =(vvt+vvm+vvb)*10; |
| 368 | per_frame_36=q5 =(vvt+vvm+vvb)*10; |
| 369 | per_frame_37=q6 =(vvt+vvm+vvb)*10; |
| 370 | per_frame_38=q7 =(vvt+vvm+vvb)*10; |
| 371 | per_frame_39=q11=(vvt+vvm+vvb)*10; |
| 372 | per_frame_40=q12=(vvt+vvm+vvb)*10; |
| 373 | per_frame_41=q13=(vvt+vvm+vvb)*10; |
| 374 | per_frame_42=q14=(vvt+vvm+vvb)*10; |
| 375 | per_frame_43=q15=(vvt+vvm+vvb)*10; |
| 376 | per_frame_44=q16=(vvt+vvm+vvb)*10; |
| 377 | per_frame_45=q17=(vvt+vvm+vvb)*10; |
| 378 | per_frame_46=q18=(vvt+vvm+vvb)*10; |
| 379 | per_frame_47=q19=(vvt+vvm+vvb)*10; |
| 380 | per_frame_48=q20=(vvt+vvm+vvb)*10; |
| 381 | per_frame_49=q21=(vvt+vvm+vvb)*10; |
| 382 | per_frame_50=q22=(vvt+vvm+vvb)*10; |
| 383 | per_frame_51=q23=(vvt+vvm+vvb)*10; |
| 384 | per_frame_52=q24=(vvt+vvm+vvb)*10; |
| 385 | per_frame_53=q25=(vvt+vvm+vvb)*10; |
| 386 | per_frame_54=q26=(vvt+vvm+vvb)*10; |
| 387 | per_frame_55=q27=(vvt+vvm+vvb)*10; |
| 388 | per_frame_56=q28=(vvt+vvm+vvb)*10; |
| 389 | per_frame_57=q29=(vvt+vvm+vvb)*10; |
| 390 | per_frame_58=q30=(vvt+vvm+vvb)*150; |
| 391 | per_frame_59=q31=(vvt+vvm+vvb)*10; |
| 392 | per_frame_60=q32=(vvt+vvm+vvb)*10; |
| 393 | per_frame_61= |
| 394 | per_frame_62= |
| 395 | per_frame_63= |
| 396 | per_frame_64=decay=1.0; |
| 397 | per_frame_65=zoom=1.009; |
| 398 | per_frame_66=dx=0;dy=0;sx=1.000001;sy=0.999999; |
| 399 | per_frame_67= |
| 400 | per_frame_68=mv_r=.360+(((cos(time/5)*0.3)+0.5*0.5)*0.1); |
| 401 | per_frame_69=mv_g=.390+(((sin(time/7)*0.3)+0.5*0.5)*0.1); |
| 402 | per_frame_70=mv_b=.500+((sin((time/7)+0.9)+0.5*0.5)*0.1); |
| 403 | per_frame_71= |
| 404 | per_frame_72= |
| 405 | per_frame_73=cx=-1;cy=2;rot=-treb*0.002; |
| 406 | per_frame_74= |
| 407 | per_frame_75=cx=sin(time*0.1)*1.5 + 0.5; |
| 408 | per_frame_76=cy=cos(time*0.2)*1.5 + 0.5 |
| 409 | per_pixel_1=//adv=min( (bass*bass*bass), 1); |
| 410 | per_pixel_2=//warp=1*((( atan(time/3) *0.5+0.5)*3)* (x*rad)*2 )+( (y*ang)*2 )*rad; |
| 411 | per_pixel_3=//warp=warp*adv; |
| 412 | per_pixel_4= |
| 413 | per_pixel_5=//dx=cos(y)*0.005*(rad+2)*treb ; |
| 414 | per_pixel_6=//dy=sin(x)*0.005*(rad+2)*treb |
| 415 | per_pixel_7= |
| 416 | per_pixel_8=//Do people that don't do drugs make shit like this?? |
| 417 | warp_1=`shader_body |
| 418 | warp_2=`{ |
| 419 | warp_3=` // sample previous frame |
| 420 | warp_4=` ret = tex2D( sampler_main, uv ).xyz; |
| 421 | warp_5=`float3 ret7=ret; |
| 422 | warp_6=`ret.z=1-ret7.x; |
| 423 | warp_7=` float3 ret2 = tex2D( sampler_fc_main, uv ).xyz; |
| 424 | warp_8=` |
| 425 | warp_9=` ret.x = tex2D( sampler_main, (uv-0.5)*1.00+0.5 ).x; |
| 426 | warp_10=`ret.x=1-ret7.y; |
| 427 | warp_11=` ret.y = tex2D( sampler_main, (uv-0.5)*0.98+0.5 ).y; |
| 428 | warp_12=`ret.y=1-ret7.z; |
| 429 | warp_13=` ret.z = tex2D( sampler_main, (uv-0.5)*0.96+0.5 ).z; |
| 430 | warp_14=` |
| 431 | warp_15=` // darken (decay) over time |
| 432 | warp_16=` ret = ret- (ret*.5); |
| 433 | warp_17=` ret = ret*(abs(GetBlur2(uv)-.5))*5; |
| 434 | warp_18=` ret = ret - .01; |
| 435 | warp_19=`} |
| 436 | comp_1=`float z; |
| 437 | comp_2=`float3 ret1, neu, mus; |
| 438 | comp_3=`float2 rs,rs2,uv1,uv2, uv3,uv4,uv6,dz,dz1; |
| 439 | comp_4=`shader_body |
| 440 | comp_5=`{ |
| 441 | comp_6=`float2 uv2; |
| 442 | comp_7=`//uv = (uv-0.5) * aspect.xy + .5; |
| 443 | comp_8=`dz = 0; |
| 444 | comp_9=` |
| 445 | comp_10=`float2 hor = float2(texsize.z,0); |
| 446 | comp_11=`float2 ver = float2(0,texsize.w); |
| 447 | comp_12=` |
| 448 | comp_13=`float dist = 1; |
| 449 | comp_14=`float inten = 1; |
| 450 | comp_15=`ret1 = 0; |
| 451 | comp_16=`float anz = 1; |
| 452 | comp_17=`float n = 0; |
| 453 | comp_18=`uv4 = (uv); |
| 454 | comp_19=` dz.x = lum(GetPixel(uv4+hor)- GetPixel (uv4-hor)); |
| 455 | comp_20=` dz.y = lum(GetPixel(uv4+ver)- GetPixel (uv4-ver)); |
| 456 | comp_21=` |
| 457 | comp_22=` |
| 458 | comp_23=`mus = .5*GetPixel(uv4-0*dz)-0*dz.x; |
| 459 | comp_24=` |
| 460 | comp_25=`uv2 = uv-.5; |
| 461 | comp_26=`while (n <= anz) { |
| 462 | comp_27=` dist = 1-frac(1.0/anz*n-.1); //evtl sqrt !; |
| 463 | comp_28=` |
| 464 | comp_29=` inten = sqrt(dist)*(1-dist*dist)*4; |
| 465 | comp_30=` |
| 466 | comp_31=` uv3 = q27*2*uv2*dist + float2 (time/8,0); |
| 467 | comp_32=` uv3 = frac(uv3); |
| 468 | comp_33=` uv3 *= aspect.yx; |
| 469 | comp_34=` uv3 = .1 * cos(22*uv3) + 18 *dz ; |
| 470 | comp_35=` neu = saturate(.02/length(uv3)); |
| 471 | comp_36=` neu = dist*neu + (1-dist)*lum(neu)* .5*(1+roam_cos); |
| 472 | comp_37=` ret1 = max(ret1,neu*inten); |
| 473 | comp_38=`n++; |
| 474 | comp_39=`} |
| 475 | comp_40=` |
| 476 | comp_41=`ret = ret1 + saturate(8*mus*(.2+ret1)) ; |
| 477 | comp_42=`} |